package com.dt76.smallloanbackendservice.service.ysy.impl;

import com.dt76.smallloanbackendservice.mapper.ysy.YBankAccountMapper;
import com.dt76.smallloanbackendservice.pojo.ysy.YBankAccount;
import com.dt76.smallloanbackendservice.service.ysy.YBankAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class YBankAccountServiceImpl implements YBankAccountService {
    //注入dao
    @Autowired
    private YBankAccountMapper yBankAccountDao;

    @Override
    public List<YBankAccount> qryAccountAll() {
        return yBankAccountDao.qryAccountAll();
    }

    @Override
    public void delacc(int yId) {
        yBankAccountDao.delacc(yId);
    }
}
